Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

feat(codesandbox): add examples #908

Merged
merged 29 commits into from
Dec 15, 2021
Merged

feat(codesandbox): add examples #908

merged 29 commits into from
Dec 15, 2021

Conversation

ariellalgilmore
Copy link
Member

Related Ticket(s)

#754

Description

Add codesandbox examples for each component.

Updated small issues with cdn example.

Changelog

New

  • component folder containing a codesandbox folder for each component

Changed

  • text for tag from "This is not a tag" to "This is a tag"

Removed

  • {{removed thing}}

@ariellalgilmore ariellalgilmore requested a review from a team as a code owner December 13, 2021 16:50
@ariellalgilmore ariellalgilmore requested review from emyarod, IgnacioBecerra and JBrandwine and removed request for a team December 13, 2021 16:50
src/components/tag/tag-story-angular.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story-angular.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story-angular.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story-angular.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story-angular.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story.ts Outdated Show resolved Hide resolved
src/components/tag/tag-story.ts Outdated Show resolved Hide resolved
ariellalgilmore and others added 22 commits December 13, 2021 09:08
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 13, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 13, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 13, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Dec 13, 2021

Copy link
Member

@emyarod emyarod left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just have a couple of questions:

should we update basic/.gitignore to also ignore the components directory? that way they won't show up in the existing CSB example if we still want to keep that example https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/feat/codesandbox/examples/codesandbox/basic

also should we set a width of 300px on the container around each component like the current basic CSB example? https://github.com/carbon-design-system/carbon-web-components/blob/feat/codesandbox/examples/codesandbox/basic/index.html#L19-L21

other than that looks good to me!

@ariellalgilmore
Copy link
Member Author

just have a couple of questions:

should we update basic/.gitignore to also ignore the components directory? that way they won't show up in the existing CSB example if we still want to keep that example https://codesandbox.io/s/github/carbon-design-system/carbon-web-components/tree/feat/codesandbox/examples/codesandbox/basic

yeah good catch! will check with team if we still want to keep that example and if so then ignore the components directory

also should we set a width of 300px on the container around each component like the current basic CSB example? https://github.com/carbon-design-system/carbon-web-components/blob/feat/codesandbox/examples/codesandbox/basic/index.html#L19-L21

I wasn't sure about that either. I was looking at Carbon's react codesandbox and they didn't set the width. I'll check with our team as well on that!

other than that looks good to me!

@jeffchew jeffchew added the Ready to merge Label for the pull requests that are ready to merge label Dec 15, 2021
@kodiakhq kodiakhq bot merged commit 80263bd into master Dec 15, 2021
@kodiakhq kodiakhq bot deleted the feat/codesandbox branch December 15, 2021 20:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants